home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C++
/
Applications
/
PICSee Dust 1.01
/
Quaternary Source
/
KeyUtils.h
< prev
next >
Wrap
Text File
|
1995-11-09
|
507b
|
30 lines
#ifndef KEYUTILS_H_
#define KEYUTILS_H_
// ASCII codes for special keys
enum {
kReturn_Key = 13,
kDelete_Key = (char)8,
kTab_Key,
kEscape_Key = (char)27,
kLeftArrow_Key,
kRightArrow_Key,
kUpArrow_Key,
kDownArrow_Key
};
Boolean CmdKeyDown();
Boolean OptionKeyDown();
Boolean ShiftKeyDown();
Boolean CapsKeyDown();
Boolean ControlKeyDown();
Boolean SpaceKeyDown();
Boolean TabKeyDown();
Boolean StrNumberOnly(Str255 theStr, Boolean includePeriod, Boolean includeComma);
#endif // KEYUTILS_H_